<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui" >

	<h:form>
		<p:panel header="#{msg['left.category.title']}">
			<ul>
			<ui:repeat value="#{categoryListBean.categories}" var="category">
				<li>
					<h:commandLink value="#{category.title}" action="#{bookListBean.searchBooksByCategory(category)}" />
				</li>
			</ui:repeat>
			</ul>
		</p:panel>
		
	</h:form>
</html>
